package com.example.oa.exception;

import lombok.Getter;

/**
 * <p>
 * 业务异常类
 * </p>
 * @author 34448
 */
@Getter
public class BusinessException extends RuntimeException {

    private final String code;

    public BusinessException(String code, String message) {
        super(message);
        this.code = code;
    }
}